home *** CD-ROM | disk | FTP | other *** search
- On 01-Dic-97, Declan_Gorman@modusmedia.com wrote: GUI Problem
-
- > Basically what I want to do is display the slected item from the
- > listview in a text gadget. It works fine only whenever I select the
- > first item in the listview it will not display it. Every other item
- > is diplay without a problem. The code is as follows......
- >
- > S_VCE$=Gui Read$(1,0)
- > If Gui Read(1,0) the Gui Set 1,9,0,Varptr$(S_VCE$)
- >
- > Any ideas what is going wrong?
-
-
- the first item of a listview is the number 0.... and so the above 'IF' skip
- it! Just use:
-
- S_VCE$=Gui Read$(1,0) : Gui Set 1,9,0,Varptr$(S_VCE$)
-
- --
-
-
- Bye!
-
-
- !!!
- o o
- +-----------------------------oOO-(_)-OOo----------------------------+
- | |
- | Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
- | E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
- | Team AMIGA \/// 1OMB - CD4x |
- | |
- | Amos Professional Team Coordinator AMIGA RULEZ!! |
- | |
- +--------------------------------------------------------------------+
-
-
-